package org.jeecg.modules.paycenter.channel.pufa;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.paycenter.enums.BillTypeEnum;
import org.jeecg.modules.paycenter.enums.PayChannelEnum;
import org.jeecg.modules.paycenter.pay.dto.PayBillData;
import org.jeecg.modules.paycenter.service.BaseBankService;
import org.jeecg.modules.paycenter.service.IPayChannelService;
import org.jeecg.modules.wlhy.bill.entity.HyBill;
import org.jeecg.modules.wlhy.bill.entity.HyCustomerBill;
import org.jeecg.modules.wlhy.bill.entity.HyShippingNoteBill;
import org.jeecg.modules.wlhy.company.entity.HyCompany;
import org.jeecg.modules.wlhy.customer.entity.HyCustomer;
import org.jeecg.modules.wlhy.hycarrier.entity.HyCarrier;
import org.jeecg.modules.wlhy.hycarrier.entity.HyCarrierAccountBook;
import org.jeecg.modules.wlhy.hyconfig.entity.HyConfig;

import org.jeecg.modules.wlhy.utils.HyConfigUtils;

import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class PingAnPayChannelService extends BaseBankService implements IPayChannelService {


    @Override
    public PayChannelEnum getChannelEnum() {
        return PayChannelEnum.PINGAN;
    }

    @Override
    public String getChannel() {
        return PayChannelEnum.PINGAN.channelType;
    }

    @Override
    public boolean checkChannel() {
        HyConfig config = HyConfigUtils.getConfig();
        return config.getPingAnIsUse();
    }

//    @Override
//    public Result<?> downloadCustomerBillHd(HyCustomerBill customerBill, String bidsSnglFlgCd) {
//        return null;
//    }
//
//    @Override
//    public Result<?> downloadCompanyBillHd(HyShippingNoteBill bill, String bidsSnglFlgCd) {
//        return null;
//    }

    @Override
    public Result<?> agentDianFuPayBatch(BillTypeEnum billTypeEnum, List<HyBill> hyBills, HyCustomer agent, HyCustomer customer) {
        return null;
    }

    @Override
    public Result<?> billPayBatch(List<HyBill> hyBills, HyCustomer customer) {
        return null;
    }

    @Override
    public Result<?> billPlateformPay(List<HyBill> hyBills, HyCustomer customer) {
        return null;
    }

    @Override
    public Result<?> billRePayBatch(List<HyBill> hyBills, HyCustomer customer) {
        return null;
    }

    @Override
    public Result<?> batchDownloadShippingBillHd(List<HyShippingNoteBill> shippingNoteBills) {
        return null;
    }

    @Override
    public Result<?> batchDownloadCustomerBilHd(List<HyCustomerBill> customerBills) {
        return null;
    }
}
